﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace ConsoleApp1.Models.DB {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_outPartial", DisableSyncStructure = true)]
	public partial class TOutPartial {

		/// <summary>
		/// 主键唯一标识(自增)
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// A相放电
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string AElectric { get; set; }

		/// <summary>
		/// A相放电次数
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string AFrequency { get; set; }

		/// <summary>
		/// A相最大放电量
		/// </summary>
		[JsonProperty]
		public int? AMaxElectric { get; set; }

		/// <summary>
		/// A相最大放电次数
		/// </summary>
		[JsonProperty]
		public int? AMaxFrequency { get; set; }

		[JsonProperty]
		public int? Astatus { get; set; }

		/// <summary>
		/// B相放电
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string BElectric { get; set; }

		/// <summary>
		/// B相放电次数
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string BFrequency { get; set; }

		/// <summary>
		/// B相最大放电
		/// </summary>
		[JsonProperty]
		public int? BMaxElectric { get; set; }

		/// <summary>
		/// B相最大放电次数
		/// </summary>
		[JsonProperty]
		public int? BMaxFrequency { get; set; }

		[JsonProperty]
		public int? Bstatus { get; set; }

		/// <summary>
		/// C相放电
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string CElectric { get; set; }

		/// <summary>
		/// C相放电次数
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string CFrequency { get; set; }

		/// <summary>
		/// C相最大放电
		/// </summary>
		[JsonProperty]
		public int? CMaxElectric { get; set; }

		/// <summary>
		/// C相最大放电次数
		/// </summary>
		[JsonProperty]
		public int? CMaxFrequency { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty]
		public int? Cstatus { get; set; }

		/// <summary>
		/// 设备Id十进制形式
		/// </summary>
		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		/// <summary>
		/// 终端ID
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

	}

}
